package com.example.springboot.pojo;

public class Building {

    private String building;
    private Integer unitCount;
    private Integer floorCount;
    private Integer roomCount;


    public Building() {
    }

    public Building(String building, Integer unitCount, Integer floorCount, Integer roomCount) {
        this.building = building;
        this.unitCount = unitCount;
        this.floorCount = floorCount;
        this.roomCount = roomCount;
    }

    /**
     * 获取
     * @return building
     */
    public String getBuilding() {
        return building;
    }

    /**
     * 设置
     * @param building
     */
    public void setBuilding(String building) {
        this.building = building;
    }

    /**
     * 获取
     * @return unitCount
     */
    public Integer getUnitCount() {
        return unitCount;
    }

    /**
     * 设置
     * @param unitCount
     */
    public void setUnitCount(Integer unitCount) {
        this.unitCount = unitCount;
    }

    /**
     * 获取
     * @return floorCount
     */
    public Integer getFloorCount() {
        return floorCount;
    }

    /**
     * 设置
     * @param floorCount
     */
    public void setFloorCount(Integer floorCount) {
        this.floorCount = floorCount;
    }

    /**
     * 获取
     * @return roomCount
     */
    public Integer getRoomCount() {
        return roomCount;
    }

    /**
     * 设置
     * @param roomCount
     */
    public void setRoomCount(Integer roomCount) {
        this.roomCount = roomCount;
    }

    public String toString() {
        return "Building{building = " + building + ", unitCount = " + unitCount + ", floorCount = " + floorCount + ", roomCount = " + roomCount + "}";
    }
}
